From 45c5925185100da0da319e322b0696711cfbf14c Mon Sep 17 00:00:00 2001
From: joonhoekim <26rote@gmail.com>
Date: Mon, 20 Oct 2025 14:46:59 +0900
Subject: (김준회) EDP 동기화 배치 비활성화, MDG 송신 필드 밸리데이션 제거
 (SDS측이 인터페이스 정의서 어김)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 app/[lng]/admin/mdg/page.tsx | 14 ++------------
 1 file changed, 2 insertions(+), 12 deletions(-)

(limited to 'app/[lng]/admin/mdg/page.tsx')

diff --git a/app/[lng]/admin/mdg/page.tsx b/app/[lng]/admin/mdg/page.tsx
index 34fe6b96..1bf37667 100644
--- a/app/[lng]/admin/mdg/page.tsx
+++ b/app/[lng]/admin/mdg/page.tsx
@@ -44,8 +44,8 @@ const sampleDefaults: Record<string, string> = {
   MASTERFLAG: 'X',
   IBND_TYPE: 'U',
   ZZREQID: 'TESTUSER01',
-  ADDRNO: '0001',
-  NATION: '1',
+  ADDRNO: '',
+  NATION: '',
   COUNTRY: 'KR',
   LANGU: 'K',
   POST_CODE1: '06292',
@@ -110,16 +110,6 @@ export default function MDGTestPage() {
       setIsLoading(true);
       setLastResult('');
 
-      // 필수 필드 검증
-      const requiredFields = fieldDefs.filter(d => d.mandatory).map(d => d.name);
-      const missingFields = requiredFields.filter(field => !formData[field]?.trim());
-
-      if (missingFields.length > 0) {
-        toast.error(`필수 필드가 누락되었습니다: ${missingFields.join(', ')}`);
-        setIsLoading(false);
-        return;
-      }
-
       // fast-xml-parser 기반 송신 함수 호출
       const result = await sendTestVendorDataToMDG(formData);
       
-- 
cgit v1.2.3

